/**
 * 
 */
package com.sci.web.bean;

/**
 * @author  BaiFuyou
 * @date: Sep 22, 2011 3:33:53 PM
 * 
 * 仅供登录使用
 */
public class User {
	private int user_id;
	/**
	 * 登录的用户名
	 */
	private String name;
	/**
	 * 登录的密码
	 */
	private String pwd;
	/**
	 * 登录用户的角色
	 */
	private int user_role;
	/**
	 * 所在的城市（有指定审批者的时候进行填写，默认是0）
	 */
	private int user_city;
	/**
	 * 是否是企业用户（凡是通过注册的都是企业用户为1，指定的用户为0）
	 */
	private int user_is_enterprise;
	/**
	 * 用户是否已经被删除0，没有删除；1，已经被删除
	 */
	private int user_is_delete;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the pwd
	 */
	public String getPwd() {
		return pwd;
	}
	/**
	 * @param pwd the pwd to set
	 */
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	
	/**
	 * @return the user_id
	 */
	public int getUser_id() {
		return user_id;
	}
	/**
	 * @param user_id the user_id to set
	 */
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return name+"=name  "+pwd+"=pwd  ";
	}
	/**
	 * @return the user_role
	 */
	public int getUser_role() {
		return user_role;
	}
	/**
	 * @param user_role the user_role to set
	 */
	public void setUser_role(int user_role) {
		this.user_role = user_role;
	}
	/**
	 * @return the user_city
	 */
	public int getUser_city() {
		return user_city;
	}
	/**
	 * @param user_city the user_city to set
	 */
	public void setUser_city(int user_city) {
		this.user_city = user_city;
	}
	/**
	 * @return the user_is_enterprise
	 */
	public int getUser_is_enterprise() {
		return user_is_enterprise;
	}
	/**
	 * @param user_is_enterprise the user_is_enterprise to set
	 */
	public void setUser_is_enterprise(int user_is_enterprise) {
		this.user_is_enterprise = user_is_enterprise;
	}
	/**
	 * @return the user_is_delete
	 */
	public int getUser_is_delete() {
		return user_is_delete;
	}
	/**
	 * @param user_is_delete the user_is_delete to set
	 */
	public void setUser_is_delete(int user_is_delete) {
		this.user_is_delete = user_is_delete;
	}
	
}
